﻿namespace HAVNet.Intros.AST
{
    public class ASTResourceAcquisition : ASTNode
    {
        //
    }

    public class ASTResourceAcquisitionVarDeclton : ASTResourceAcquisition
    {
        public ASTLocalVarDeclton localVarDeclton { get; set; }

        public override string ToString()
        {
            return localVarDeclton.ToString();
        }
    }

    public class ASTResourceAcquisitionExpression : ASTResourceAcquisition
    {
        public ASTExpr expression { get; set; }

        public override string ToString()
        {
            return expression.ToString();
        }
    }
}
